package com.yaoran.userauth.service;

import com.yaoran.userauth.entity.Organization;
import com.yaoran.userauth.utils.PageUtils;
import com.yaoran.userauth.utils.Query;

import java.util.Date;
import java.util.List;

public interface OrganizationService {
    void addOrganization(Organization organization, Date createTime);

    PageUtils<Organization> listOrganization(Query query,String keyWord);

    void  updateOrganization(Organization organization);

    void deleteOrganization(Long id);

    void deleteManyOrganizations(Long[] ids);

    Organization getOrganization(Long id);

    List<Organization> listAllOrganization();
}
